//
//  OneKeyRepairUploadImageCollectionCell.h
//  customer
//
//  Created by Holothurian on 2018/11/3.
//  Copyright © 2018年 yinlong. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol UploadRepairImageCollectionCellDelegate <NSObject>

- (void)uploadRepairImageCollectionCellAddImage:(NSIndexPath *)indexPath;

- (void)uploadRepairImageCollectionCellTapHaveALook:(NSIndexPath *)indexPath;

@optional
- (void)uploadRepairImageCollectionCellDeleteImage:(NSIndexPath *)indexPath;

@end

@interface OneKeyRepairUploadImageCollectionCell : UICollectionViewCell

@property (nonatomic,strong)UIView *placeholderView;

@property (nonatomic,strong)UIImageView *placeholderImgView;

@property (nonatomic,strong)UIButton *deleteBtn;

@property (nonatomic,strong)UILabel *uploadLabel;

@property (nonatomic,strong)UIImageView *imgView;

@property (nonatomic,strong)NSIndexPath *indexPath;

@property (nonatomic,weak)id<UploadRepairImageCollectionCellDelegate>delegate;

@end

NS_ASSUME_NONNULL_END
